home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 210 / 210.d81 / t.godot loader < prev    next >
Text File  |  2022-08-26  |  3KB  |  121 lines

  1. u
  2.        G O D O T   L O A D E R
  3.  
  4.            by Arndt Dettke
  5.  
  6.  [Note:] I sent LOADSTAR 209 to Arndt
  7. so he could see his great GoDot
  8. program as presented here. He
  9. immediately responded:
  10.  
  11.  
  12.     First off, thank you for promoting
  13. GoDot on Loadstar. I really appreciate
  14. seeing GoDot receiving some attention
  15. from such an important side like
  16. Loadstar. I also appreciate your
  17. "GoDot intro" article. It's just the
  18. right words at the right place that
  19. makes things go, and your words
  20. couldn't have been chosen more
  21. accurately. Thank you for this also!
  22.  
  23.     And now to something I have to
  24. apologize for: "ldr.Loadstar" has a
  25. bug in it! I loaded the Xmas SHP's on
  26. the disks to GoDot and was puzzled
  27. that some of them didn't display
  28. correctly. I then started Loadstar to
  29. see whether they were wrong from
  30. Loadstar, too. Of course, they were
  31. not.
  32.  
  33.     So, what was the bug? I suspected
  34. the background color being improperly
  35. set by the image data file itself, and
  36. yep! I was right: where there should
  37. be $01 (for "white") I found $f1! The
  38. upper nibble had not been zeroed (for
  39. any reason; maybe the upper nibble
  40. contains the border color?). This is
  41. really my fault, because I [know] this
  42. kind of bug, I've had to correct it
  43. already [several] times. In short, I
  44. didn't AND the upper 4 bits off.
  45.  
  46.  
  47.     The loader will immediately be
  48. published on my site. I would ask you
  49. to put it on your next Loadstar disk
  50. also to provide best stuff. Again, I'm
  51. sorry for inconveniences.
  52.  
  53.  
  54.  [Dave Here:]
  55.  
  56.     Thank you for the kind words! Bugs
  57. we know and the beautiful thing about
  58. a C-64 computer is that no matter how
  59. badly we mess things up, we can always
  60. shut off the power, turn it back on,
  61. and have a friendly and willing READY
  62. prompt waiting for us!
  63.  
  64.     The beautiful thing about GoDot is
  65. that loading and saving the many C-64
  66. and PC graphic formats is done through
  67. plug-in modules ("ldr.Loadstar" being
  68. the one that loads our SHP files)
  69. which can be upgraded.
  70.  
  71.     So the file "ldr.Loadstar" is on
  72. this disk. Use it to replace the file
  73. of the same name on your GoDot work
  74. disk. Suddenly, all is well with the
  75. world.
  76.  
  77.  
  78.  [Back to Arndt:]
  79.  
  80.     By the way, you described in your
  81. intro how you worked on the photo of
  82. you and your wife and mentioned you
  83. had to get rid of some green spots in
  84. the image.
  85.  
  86.     Well, for this purpose the best
  87. thing to use is "mod..Histogram". It
  88. provides functions to swap two colors,
  89. or to join one or more colors to a
  90. third one. Just this function would be
  91. most appropriate here. Join green to
  92. the color that surrounds this green,
  93. and then green has vanished with no
  94. tracks left. :)
  95.  
  96.  
  97.  [Dave Again:]
  98.  
  99.     Ah Hah! Here lies the power of
  100. GoDot! Every pixel contains its own
  101. color information -- four bits (0 -
  102. 15) for each pixel. The Histogram
  103. function described above can go
  104. through the entire graphic and look
  105. for the value for Green and convert it
  106. to the surrounding color.
  107.  
  108.     There are still little touches one
  109. might do with a bitmap editor,
  110. especially when converting photos to
  111. C-64 Multi-Color bitmap. But GoDot
  112. solves much of the (otherwise) grunt
  113. work.
  114.  
  115.     And more! Look at the GoDot
  116. Examples elsewhere on this issue. The
  117. possibilities are fantastic.
  118.  
  119.  AD & DMM
  120.  
  121.  
  122.